package com.qiandw.demo.controller

import org.springframework.stereotype.Controller
import org.springframework.ui.ModelMap
import org.springframework.web.bind.annotation.RequestMapping

@Controller
class HomeController {

  @RequestMapping(Array("/", "/home"))
  def home(modelMap: ModelMap): String = {
    "home"
  }

}
